package com.vframework.system.regions.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vframework.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author codeGenerator
 * @since 2020-10-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_regions")
@ApiModel(value="SysRegions对象", description="")
public class SysRegions extends BaseEntity<SysRegions> {

    private static final long serialVersionUID = 1L;

    @TableField("region_id")
    private Integer regionId;

    @TableField("local_name")
    private String localName;

    @TableField("p_region_id")
    private Integer pRegionId;

    @TableField("region_path")
    private String regionPath;

    @TableField("region_grade")
    private Integer regionGrade;

    @TableField("zipcode")
    private String zipcode;

    @TableField("cod")
    private String cod;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
